package com.hyz.common.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Description:  后端给前端响应的结果集封装
 * @Version: V1.0
 */
@Data
@ApiModel(value = "UserOrdersVO-用户所属订单封装实体",description = "后端给前端响应的结果集封装DTO")
public class UserOrdersVO {

    // 用户相关信息
    @ApiModelProperty(value = "用户名",name = "用户名-name", required = true)
    private String username;

    private String nickName;

    private String headPic;

    // 订单
    private List<OrderVO> orders;


}